#ifndef _COMMON_H_
#define _COMMON_H_


// ray class for intersection
template <class vector_t>
class ray
{
public:
    // ray start position
    const vector_t ray_origin;
    // ray direction
    const vector_t ray_direction;

    __device__ ray(const vector_t origin, const vector_t dir)
    : ray_origin(origin),
      ray_direction(dir)
    {
    }
};


template <class vector_t>
class hit
{
};

#endif